package Helper;

import java.io.Serializable;

/**
 * @Written by T12 (IS3102 AY2011/12)
 */
public class Seats implements Serializable{
    private String row;
    private Integer column;
    private boolean empty;
    private boolean reserved;
    
    public Seats(){
        
    }
    
    public Seats(String row, Integer column){
        this.setRow(row);
        this.setColumn(column);
        this.setEmpty(false);
        this.setReserved(false);
    }
    
    public Seats(String row, Integer column, boolean empty){
        this.setRow(row);
        this.setColumn(column);
        this.setEmpty(empty);
        this.setReserved(false);
    }

    public Integer getColumn() {
        return column;
    }

    public void setColumn(Integer column) {
        this.column = column;
    }

    public boolean isEmpty() {
        return empty;
    }

    public void setEmpty(boolean empty) {
        this.empty = empty;
    }

    public boolean isReserved() {
        return reserved;
    }

    public void setReserved(boolean reserved) {
        this.reserved = reserved;
    }

    public String getRow() {
        return row;
    }

    public void setRow(String row) {
        this.row = row;
    }
    
    public String toString(){
        return row + "" + column;
    }
}
